/**
 * @file 05.c
 * @author your name (you@domain.com)
 * @brief 查找偶数或奇数
 * @version 0.1
 * @date 2022-04-13
 * 
 * @copyright Copyright (c) 2022
 * 
 */

#include <stdio.h>

int main()
{
    int n;
    printf("Enter a number:");
    scanf("%d", &n);
    if (n % 2 == 0) {
        printf("Number is even.\n");
    } else {
        printf("Number is odd.\n");
    }
    return 0;
}